package com.api.demo.dto.business.invoice;

import com.api.demo.dto.business.ApiDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @description: 查询发票需要的参数DTO
 * @author: yanming
 * @createDate: 2022/12/28 18:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BillingCategoryDTO extends ApiDTO {

    private static final long serialVersionUID = 6844163661181030847L;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "id不能为空")
    private Long id;
}